package com.ostrich.module_community.attention

import androidx.lifecycle.LiveData
import com.ostrich.library_base.BaseViewModel
import com.ostrich.library_net.BaseResponse
import com.ostrich.module_community.CommunityRepository
import com.ostrich.module_community.attention.entity.AttentionEntity

/**
 * @Author : yaotianxue
 * @Time : On 2023/10/31 15:16
 * @Description : AttentionViewModel
 */
class AttentionViewModel:BaseViewModel(){
    private val communityRepository:CommunityRepository by lazy { CommunityRepository() }
    //关注
    fun attention(): LiveData<BaseResponse<MutableList<AttentionEntity>>> {
        return communityRepository.attention()
    }
}